home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
ab20
/
ab20_archive
/
utilities
/
emulators
/
apple2emul.lzh
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-04-18
|
1KB
|
60 lines
#
# Use -O if you can. It gave a 20% speedup on one test.
#
CFLAGS = -O
LIBS = -lcurses -ltermcap
# If Using 286 Xenix, uncomment the following lines:
# CFLAGS = -M2l -O
# LARGE = -LARGE
#
# Make SYSTEM be -DBSD for Berkeley-ish machines, leave blank otherwise
#
SYSTEM =
#SYSTEM = -DBSD
OBJECTS = a2.o table.o jump.o curses.o main.o screen.o \
mem.o tbl.o parse.o commands.o dos.o cli.o vidout.o \
disk.o prodos.o
a2: $(OBJECTS)
cc -o a2 $(CFLAGS) $(OBJECTS) $(LIBS)
curses.o: curses.c
cc -c $(SYSTEM) $(CFLAGS) curses.c
shar:
-mv ../a2.shar ../a2.shar-
shar -v Makefile Notes Snarf Cli.doc Todo *.[ch] > ../a2.shar
tar:
-mv ../a2.tar ../a2.tar-
tar -cvf ../a2.tar [A-Z]* *.[ch]
clean:
rm -f *.o core
clobber: clean
rm -f a2
a2.o: a2.h a2.c
cc $(LARGE) $(CFLAGS) -c a2.c
cli.o: cli.c a2.h cli.h
commands.o: commands.c cli.h a2.h
disk.o: disk.c a2.h
dos.o: dos.c a2.h
jump.o: jump.c a2.h
main.o: main.c a2.h
mem.o: mem.c a2.h
parse.o: parse.c cli.h a2.h
pascal.o: pascal.c a2.h
screen.o: screen.c a2.h
table.o: table.c a2.h
tbl.o: tbl.c cli.h a2.h
vidout.o: vidout.c a2.h